*Gender, Agency, and Accountability for ISIS Violence: Public Perspectives from Mosul, Iraq
*Replication Instructions

*Vera Mironova and Sam Whitt

*Below are instructions for replicating all manuscript and online appendix tables and figures in STATA using the long format of the 
*dataset “SCT gender and accountability replication data long format.dta”. 

*Please contact Sam Whitt (swhitt@highpoint.edu) for questions regarding data replication. 

*Note: You may need to install STATA packages for cibar, catcibar  and iebaltab commands. 
*Use findit with command name to identify and download the appropriate packets to install. To install commands enter the following:

*Note: In addition, some graphs require additional formatting using filename.grec files with the graph play command. 
*To format a graph, simply run the command to generate the graph in the do file in STATA, then open the “Graph Editor” in STATA and click on 
*the GREEN “Play Recording” button, then select “Browse” to select the grec file from among Replication files. 
*The name of the grec file is indicated in the note below the graph command in the do file for the specific graph you wish to format. 
*This should automatically format the graph, which you may then save to a location of your choosing.

*Manuscript Text

*Note: replication of data discussed in the text as well as key variables is available in the wide format dataset and do file. 
*Many variables in the wide format dataset are also included in the long format version, as well as some unique variables necessary
*for analysis of stacked data. 

*Manuscript Tables and Figures

*Figure 1. ISIS punishment preferences (no gender prime)
*long format

cibar decision, over2(category) over1(idpcamp)

*Note additional formatting requires the "Figure 1 long formatting.grec" file with the command graph play "Figure 1 long formatting.grec"

*Figure 2. ISIS punishment preferences (gender primes)
*long format

cibar expgroup, over1(treatment) over2(mosul)

*Note additional formatting requires the "Figure 2 long formatting.grec" file with the command graph play "Figure 2 long formatting.grec"

*Figure 3. Women's agency and accountability
*see wide format

*Table 2. Women’s Agency for Violence and Accountability (Ordered Probit Regression)
*long format

oprobit punmalefemale femaleworkertxt, cluster(id)
oprobit punmalefemale femaleworkertxt##c.agencyaffirm isisvictim female age education income professional laborer unemployed moved, cluster(id)
oprobit punmalefemale femaleworkertxt##c.judicialdenial isisvictim female age education income professional laborer unemployed moved, cluster(id)
oprobit punmalefemale mosul##femaleworkertxt isisvictim female age education income professional laborer unemployed moved, cluster(id)

*Appendix Replication

*Mosul Sampling Locations
*see wide format

*Summary of Variables in Manuscript Analysis
*see wide format

*Figure 1 Box-Whisker Plots of Punishing ISIS from Manuscript Figure 1
*see also wide format
*(Alternative) Long-format

cibar decision, over1(category) over2(mosul)

*Figure 2 Box-Whisker Plots of Vignette Punishments from Manuscript Figure 2.
*Long format

graph box nasimloyal-linahigh

*Note additional formatting requires the "Figure 2a long formatting.grec" file with the command graph play "Figure 2a long formatting.grec"

*Figure 3. Perceptions of Judicial Affirmation/Denial of Women’s Agency
*Long format

cibar denialgroup, over1(denialcat) over2(mosul)

*Note additional formatting requires the "SA Figure 3 long formatting.grec" file with the command graph play "SA Figure 3 long formatting.grec"

*Table 1. Factor Analysis of Judicial Affirmation/Denial Index
*see wide format

*Figure 4. Perceptions of Women’s Agency in ISIS
*Long format

cibar affirmgroup, over1(affirmcat) over2(mosul)

*Note additional formatting requires the “SA Figure 4 long formatting.grec” file with the command graph play “SA Figure 4 long formatting.grec”

*Table 2. Factor Analysis of Agency Affirmation Index
*see wide format

*Figure 5. Perceptions of ISIS Victimization by Location
*see wide format

*Table 3. Factor Analysis of Victimization Index
*see wide format

*Further Analysis of Gender and ISIS Punishment Preferences
*Long format

factor dleaders dfighters dff dreligpolice dcivcomsup dcivadmin dcivlabor dcivpolice dtaxpayers
*alpha dleaders dfighters dff dreligpolice dcivcomsup dcivadmin dcivlabor dcivpolice, gen(alphapunishisis)

*Table 4. Punishment of ISIS (OLS Regression)
*Long format

reg alphapunishisis mosul isisvictim female age education income professional laborer unemployed moved, robust

reg decision revcategory mosul isisvictim female age education income professional laborer unemployed moved, cluster(id)

reg punmalefemale i.malefemaletxt mosul judicialdenial agencyaffirm isisvictim female age education income professional laborer unemployed moved, cluster(id)

*Table 5. Punishment of ISIS (Ordered Probit Regression)
*Long format

oprobit decision revcategory mosul isisvictim female age education income professional laborer unemployed moved, cluster(id)

oprobit punmalefemale i.malefemaletxt mosul judicialdenial agencyaffirm isisvictim female age education income professional laborer unemployed moved, cluster(id)

*Table 6. Punishment of ISIS by Treatment Groups (OLS regression)
*see wide format

*Table  7. Summary of Additional Variables used in SI Tables 4-6
*Long format

sum alphapunishisis decision category punmalefemale

*see also wide format

*Manuscript Table 2 Robustness Checks
*Long format

reg punmalefemale femaleworkertxt, cluster(id)
reg punmalefemale femaleworkertxt##c.agencyaffirm isisvictim female age education income professional laborer unemployed moved, cluster(id)
reg punmalefemale femaleworkertxt##c.judicialdenial isisvictim female age education income professional laborer unemployed moved, cluster(id)
reg punmalefemale mosul##femaleworkertxt isisvictim female age education income professional laborer unemployed moved, cluster(id)

*Manuscript Table 2 Power Calculations
*see wide format

log close


